<html>
<head>
<meta name="generator" content=
"HTML Tidy for Windows (vers 25 March 2009), see www.w3.org">
<title>PHP Timeclock 1.04 - Daily Time Report</title>

<link rel='stylesheet' type='text/css' media='screen' href=
'../css/default.css'>
<link rel='stylesheet' type='text/css' media='print' href=
'../css/print.css'>
<script language="javascript" src="../scripts/CalendarPopup.js"
type="text/javascript">
</script>
<script language="javascript" type="text/javascript">
document.write(getCalendarStyles());
</script>
<script language="javascript" type="text/javascript">
var cal = new CalendarPopup('mydiv');
</script>
<script language="javascript" src="../scripts/pnguin.js" type=
"text/javascript">
</script>
<script language="JavaScript" type="text/javascript">

function office_names() {
var select = document.form.office_name;
var groups_select = document.form.group_name;
var users_select = document.form.user_name;
select.options[0] = new Option("All");
select.options[0].value = 'All';
groups_select.options[0] = new Option("All");
groups_select.options[0].value = 'All';
users_select.options[0] = new Option("All");
users_select.options[0].value = 'All';

select.options[1] = new Option("HUT");
select.options[1].value = "HUT";
select.options[2] = new Option("ISU");
select.options[2].value = "ISU";
}


function group_names() {
var offices_select = document.form.office_name;
var groups_select = document.form.group_name;
var users_select = document.form.user_name;
groups_select.options[0] = new Option("All");
groups_select.options[0].value = 'All';
users_select.options[0] = new Option("All");
users_select.options[0].value = 'All';

if (offices_select.options[offices_select.selectedIndex].text == "HUT") {
groups_select.options[0] = new Option("All");
groups_select.options[0].value = 'All';
groups_select.options[1] = new Option("G1");
groups_select.options[1].value = "G1";
groups_select.options[2] = new Option("G11");
groups_select.options[2].value = "G11";
groups_select.options[3] = new Option("G2");
groups_select.options[3].value = "G2";
groups_select.options[4] = new Option("G3");
groups_select.options[4].value = "G3";
groups_select.options[5] = new Option("G4");
groups_select.options[5].value = "G4";
groups_select.options[6] = new Option("G5");
groups_select.options[6].value = "G5";
groups_select.options[7] = new Option("G6");
groups_select.options[7].value = "G6";
groups_select.options[8] = new Option("G7");
groups_select.options[8].value = "G7";
groups_select.options[9] = new Option("G8");
groups_select.options[9].value = "G8";
groups_select.options[10] = new Option("G9");
groups_select.options[10].value = "G9";
}
if (offices_select.options[offices_select.selectedIndex].text == "ISU") {
groups_select.options[0] = new Option("All");
groups_select.options[0].value = 'All';
groups_select.options[1] = new Option("G1");
groups_select.options[1].value = "G1";
groups_select.options[2] = new Option("G2");
groups_select.options[2].value = "G2";
groups_select.options[3] = new Option("G3");
groups_select.options[3].value = "G3";
groups_select.options[4] = new Option("G4");
groups_select.options[4].value = "G4";
groups_select.options[5] = new Option("G5");
groups_select.options[5].value = "G5";
}
if (users_select.options[users_select.selectedIndex].value != 'All') {
  users_select.length = 0;
}
if (groups_select.options[groups_select.selectedIndex].value != 'All') {
  groups_select.length = 0;
}
if (offices_select.options[offices_select.selectedIndex].value == 'All') {
groups_select.options[0] = new Option("All");
groups_select.options[0].value = 'All';
}
if (groups_select.options[groups_select.selectedIndex].value == 'All') {
users_select.options[0] = new Option("All");
users_select.options[0].value = 'All';
}
}


function user_names() {
var offices_select = document.form.office_name;
var groups_select = document.form.group_name;
var users_select = document.form.user_name;
users_select.options[0] = new Option("All");
users_select.options[0].value = 'All';

if (offices_select.options[offices_select.selectedIndex].value != 'All') {
  users_select.length = 0;
}

if (offices_select.options[offices_select.selectedIndex].text == "HUT") {

if (groups_select.options[groups_select.selectedIndex].text == "G1") {
users_select.options[0] = new Option("All");
users_select.options[0].value = 'All';
}

if (groups_select.options[groups_select.selectedIndex].text == "G11") {
users_select.options[0] = new Option("All");
users_select.options[0].value = 'All';
}

if (groups_select.options[groups_select.selectedIndex].text == "G2") {
users_select.options[0] = new Option("All");
users_select.options[0].value = 'All';
}

if (groups_select.options[groups_select.selectedIndex].text == "G3") {
users_select.options[0] = new Option("All");
users_select.options[0].value = 'All';
}

if (groups_select.options[groups_select.selectedIndex].text == "G4") {
users_select.options[0] = new Option("All");
users_select.options[0].value = 'All';
}

if (groups_select.options[groups_select.selectedIndex].text == "G5") {
users_select.options[0] = new Option("All");
users_select.options[0].value = 'All';
}

if (groups_select.options[groups_select.selectedIndex].text == "G6") {
users_select.options[0] = new Option("All");
users_select.options[0].value = 'All';
}

if (groups_select.options[groups_select.selectedIndex].text == "G7") {
users_select.options[0] = new Option("All");
users_select.options[0].value = 'All';
}

if (groups_select.options[groups_select.selectedIndex].text == "G8") {
users_select.options[0] = new Option("All");
users_select.options[0].value = 'All';
}

if (groups_select.options[groups_select.selectedIndex].text == "G9") {
users_select.options[0] = new Option("All");
users_select.options[0].value = 'All';
}
} 
if (offices_select.options[offices_select.selectedIndex].text == "ISU") {

if (groups_select.options[groups_select.selectedIndex].text == "G1") {
users_select.options[0] = new Option("All");
users_select.options[0].value = 'All';
}

if (groups_select.options[groups_select.selectedIndex].text == "G2") {
users_select.options[0] = new Option("All");
users_select.options[0].value = 'All';
}

if (groups_select.options[groups_select.selectedIndex].text == "G3") {
users_select.options[0] = new Option("All");
users_select.options[0].value = 'All';
}

if (groups_select.options[groups_select.selectedIndex].text == "G4") {
users_select.options[0] = new Option("All");
users_select.options[0].value = 'All';
}

if (groups_select.options[groups_select.selectedIndex].text == "G5") {
users_select.options[0] = new Option("All");
users_select.options[0].value = 'All';
}
} 
if (groups_select.options[groups_select.selectedIndex].value == 'All') {
users_select.options[0] = new Option("All");
users_select.options[0].value = 'All';
}
}


</script>
</head>
<body onload='office_names();'>
<table class="header" width="100%" border="0" cellpadding="0"
cellspacing="1">
  <tr><td align="left"><a href='../index.php'><img border="0" src=
'../images/logos/phptimeclock.png'></a></td>
<td colspan="2" scope="col" align="right" valign="middle"><a href=
'http://www.historychannel.com/tdih' style='color:#000000;font-family:Tahoma;font-size:10pt;
        text-decoration:none;'>May 3, 2011&nbsp;&nbsp;</a></td></tr>
</table>
<table class="topmain_row_color" width="100%" border="0"
cellpadding="0" cellspacing="0">
  <tr>
<td align="right" valign="middle"><img src=
'../images/icons/house.png' border='0'>&nbsp;&nbsp;</td>
<td align="right" valign="middle" width="10"><a href='../index.php'
style=
'color:#000000;font-family:Tahoma;font-size:10pt;text-decoration:none;'>
Home&nbsp;&nbsp;</a></td>
<td align="right" valign="middle" width="23"><img src=
'../images/icons/bricks.png' border='0'>&nbsp;&nbsp;</td>

<td align="right" valign="middle" width="10"><a href='../login.php'
style=
'color:#000000;font-family:Tahoma;font-size:10pt;text-decoration:none;'>
Administration&nbsp;&nbsp;</a></td>
<td align="right" valign="middle" width="23"><img src=
'../images/icons/report.png' border='0'>&nbsp;&nbsp;</td>
<td align="right" valign="middle" width="10"><a href='index.php'
style=
'color:#000000;font-family:Tahoma;font-size:10pt;text-decoration:none;'>
Reports&nbsp;&nbsp;</a></td>
</tr></table>
<table width="100%" height="89%" border="0" cellpadding="0"
cellspacing="1">
<tr valign="top">
    <td>
<table width="100%" height="100%" border="0" cellpadding="10"
cellspacing="1">
<tr class="right_main_text">
<td valign="top"><br>
            <form name='form' action='/timeclock-1.04/reports/timerpt.php'
method='post' onsubmit="return isFromOrToDate();"><input type=
'hidden' name='date_format' value='M/d/yyyy'>

<table align="center" class="table_border" width="60%" border="0"
cellpadding="3" cellspacing="0">
              <tr>
<th class="rightside_heading" nowrap halign="left" colspan="3">
<img src='../images/icons/report.png'>&nbsp;&nbsp;&nbsp;Daily Time
Report</th>
</tr>
<tr>
<td height="15"></td>
</tr>
M/d/yyyy
<tr>
<td class="table_rows" height="25" width="20%" style=
'padding-left:32px;' nowrap>Choose Office:</td>
<td colspan="2" width="80%" style=
'color:red;font-family:Tahoma;font-size:10px;padding-left:20px;'>
<select name='office_name' onchange='group_names();'>                      </select></td></tr>

<tr>
<td class="table_rows" height="25" width="20%" style=
'padding-left:32px;' nowrap>Choose Group:</td>
<td colspan="2" width="80%" style=
'color:red;font-family:Tahoma;font-size:10px;padding-left:20px;'>
<select name='group_name' onchange='user_names();'>                      </select></td></tr>
<tr>
<td class="table_rows" height="25" width="20%" style=
'padding-left:32px;' nowrap>Choose Username:</td>
<td colspan="2" width="80%" style=
'color:red;font-family:Tahoma;font-size:10px;padding-left:20px;'>
<select name='user_name'>                      </select></td></tr>
<tr>
<td class="table_rows" style='padding-left:32px;' width="20%"
nowrap>From Date: (m/d/yyyy)</td>
<td style=
'color:red;font-family:Tahoma;font-size:10px;padding-left:20px;'
width="80%"><input type='text' size='10' maxlength='10' name=
'from_date' style='color:#27408b'>&nbsp;*&nbsp;&nbsp; <a href="#"
onclick=
"form.from_date.value='';cal.select(document.forms['form'].from_date,'from_date_anchor','M/d/yyyy'); return false;"
name="from_date_anchor" id="from_date_anchor" style=
'font-size:11px;color:#27408b;'>Pick Date</a></td>

</tr>
<tr>
<td></td>
</tr>
<tr>
<td class="table_rows" style='padding-left:32px;' width="20%"
nowrap>To Date: (m/d/yyyy)</td>
<td style=
'color:red;font-family:Tahoma;font-size:10px;padding-left:20px;'
width="80%"><input type='text' size='10' maxlength='10' name=
'to_date' style='color:#27408b'>&nbsp;*&nbsp;&nbsp; <a href="#"
onclick=
"form.to_date.value='';cal.select(document.forms['form'].to_date,'to_date_anchor','M/d/yyyy'); return false;"
name="to_date_anchor" id="to_date_anchor" style=
'font-size:11px;color:#27408b;'>Pick Date</a></td>
</tr>
<tr>
<td></td>
</tr>
<tr>
<td class="table_rows" align="right" colspan="3" style=
'color:red;font-family:Tahoma;font-size:10px;'>

*&nbsp;required&nbsp;</td>
</tr>
            </table>
<div style=
"position:absolute;visibility:hidden;background-color:#ffffff;layer-background-color:#ffffff;"
id="mydiv" height="200">&nbsp;</div>
<table align="center" width="60%" border="0" cellpadding="0"
cellspacing="3">
<tr>
<td class="table_rows" height="25" valign="bottom">
1.&nbsp;&nbsp;&nbsp;Export to CSV? (link to CSV file will be in the
top right of the next page)</td>
</tr>
<tr>
<td class="table_rows" align="left" nowrap style=
'padding-left:15px;'><input type='radio' name='csv' value=
'1'>&nbsp;Yes <input type='radio' name='csv' value='0' checked
>&nbsp;No</td>

</tr>
<tr>
<td class="table_rows" height="25" valign="bottom">
2.&nbsp;&nbsp;&nbsp;Display connecting ip address information?</td>
</tr>
<tr>
<td class="table_rows" align="left" nowrap style=
'padding-left:15px;'><input type='radio' name='tmp_display_ip'
value='1' checked>&nbsp;Yes<input type='radio' name=
'tmp_display_ip' value='0'>&nbsp;No</td>
</tr>
<tr>
<td height="10"></td>
</tr>
            </table>

<table align="center" width="60%" border="0" cellpadding="0"
cellspacing="3">
<tr>
<td width="30"><input type='image' name='submit' value='Edit Time'
align='middle' src='../images/buttons/next_button.png'></td>
<td><a href='index.php'><img src=
'../images/buttons/cancel_button.png' border='0'></a></td>
</tr>
</table>
</form>
</td>
</tr>
<tr class="hide">
<td height="4%" class="misc_items" align="right" valign="middle"
scope="row" colspan="2">Powered by&nbsp;<a class="footer_links"
href='http://httpd.apache.org/'>Apache</a>&nbsp;&#177;<a class=
"footer_links" href='http://mysql.org'>&nbsp;MySql</a>
&#177;<a class="footer_links" href=
'http://php.net'>&nbsp;PHP</a>&nbsp;&#8226;<a class="footer_links"
href='http://timeclock.sourceforge.net'>&nbsp;PHP Timeclock&nbsp;1.04</a></td></tr>

      </table>
    </td>
  </tr>
</table>
</body>
</html>
